//
//  SearchBusStationResultModel.h
//  o_amap
//
//  Created by Q神 on 2021/4/19.
//

#import <Foundation/Foundation.h>
#import "SearchSuggestionCityModel.h"
#import "LatLngModel.h"


@class BusStationModel;
@class BusLineItemModel;

NS_ASSUME_NONNULL_BEGIN

@interface SearchBusStationResultModel : NSObject

@property (nonatomic, strong) NSArray<BusStationModel *> *busStations;
@property (nonatomic, assign) NSInteger pageCount;
@property (nonatomic, copy) NSString *query;
@property (nonatomic, strong) NSArray<SearchSuggestionCityModel *> *searchSuggestionCities;
@property (nonatomic, strong) NSArray<NSString *> *searchSuggestionKeywords;

@end

@interface BusStationModel : NSObject

@property (nonatomic, copy) NSString *adCode;
@property (nonatomic, strong) NSArray<BusLineItemModel *> *busLineItems;
@property (nonatomic, copy) NSString *busStationId;
@property (nonatomic, copy) NSString *busStationName;
@property (nonatomic, copy) NSString *cityCode;
@property (nonatomic, strong) LatLngModel *latLng;

@end


@interface BusLineItemModel : NSObject

@property (nonatomic, assign) CGFloat basicPrice;
@property (nonatomic, strong) NSArray<LatLngModel *> *bounds;
@property (nonatomic, copy) NSString *busLineId;
@property (nonatomic, copy) NSString *busLineName;
@property (nonatomic, copy) NSString *busLineType;
@property (nonatomic, strong) NSArray<BusStationModel *> *busStations;
@property (nonatomic, copy) NSString *cityCode;
@property (nonatomic, assign) CGFloat distance;
@property (nonatomic, copy) NSString *originatingStation;
@property (nonatomic, copy) NSString *terminalStation;
@property (nonatomic, assign) CGFloat totalPrice;

@end

NS_ASSUME_NONNULL_END
